package com.vcc.service.service;

import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.RiskRule;

import java.util.List;

public interface RiskRuleService extends IService<RiskRule> {

    Boolean existsByRiskId(List<Long> riskIds, String key, String fun, String value);

    List<RiskRule> listByRiskId(List<Long> riskIds);

    List<RiskRule> listByRiskId(Long riskId);

    Boolean removeByRiskId(Long riskId);

}
